[Top] [Prev] [Next] [Bottom]
[Contents]
SaJavaMsgBox
Prints an alert statement for Java Script and a newline character to standard out.
#include "sajavasc.h"
int SaJavaMsgBox(char* msg);
Argument
- msg
- A string specifying the message to appear in a Java script message box.
Return Values
Returns an integer with a value of 0 if successful and a value of 1 if msg is either NULL or an empty string.
Prints an alert statement for Java Script and a newline character to standard out. You must properly escape the " and \ characters when calling this function with a string literal (use \ to escape these).
The code fragment:
SaJavaMsgBox("Not a valid security code");
will write:
alert("Not a valid security code");\n
to the output stream.
SaJavaB, SaJavaCommE, SaJavaE, SaJavaCommB, SaJavaRetTrue
SaJavaRetFalse, SaJavaPrint, SaJavaIsLower, SaJavaIsUpper, SaJavaNotDigit
SaJavaLenZero, SaJavaLenNe, SaJavaStdFor
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.